%%
%% This is file `mcmthesis-demo.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% mcmthesis.dtx  (with options: `demo')
%%
%% -----------------------------------
%%
%% This is a generated file.
%%
%% Copyright (C)
%%       2010 -- 2015 by Zhaoli Wang
%%       2014 -- 2019 by Liam Huang
%%       2019 -- present by latexstudio.net
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Liam Huang.
%%
%%
%% This is file `mcmthesis-demo.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% mcmthesis.dtx  (with options: `demo')
%%
%% -----------------------------------
%%
%% This is a generated file.
%%
%% Copyright (C)
%%       2010 -- 2015 by Zhaoli Wang
%%       2014 -- 2019 by Liam Huang
%%       2019 -- present by latexstudio.net
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Liam Huang.
%%
\documentclass{mcmthesis}
\mcmsetup{CTeX = false,   % 使用 CTeX 套装时，设置为 true
        tcn = 0000, problem = A,
        sheet = true, titleinsheet = false, keywordsinsheet = true,
        titlepage = true, abstract = true}
\usepackage{newtxtext}%\usepackage{palatino}
\usepackage{lipsum}
\usepackage{amsmath}
\title{The \LaTeX{} Template for MCM Version \MCMversion}
\author{\small \href{http://www.latexstudio.net/}
  {\includegraphics[width=7cm]{mcmthesis-logo}}}
\date{\today}

\bibliographystyle{plain}

\begin{document}
\begin{abstract}
This is a paragraph that is used to test the mcmthesis\cite{r2}.


\begin{keywords}
Zhihao Wei;Yilin Sun; Yi Zhou
\end{keywords}
\end{abstract}
\maketitle
%% Generate the Table of Contents, if it's needed.
\tableofcontents
\newpage
%%
%% Generate the Memorandum, if it's needed.
%% \memoto{\LaTeX{}studio}
%% \memofrom{Liam Huang}
%% \memosubject{Happy \TeX{}ing!}
%% \memodate{\today}
%% \logo{\LARGE I'm pretending to be a LOGO!}
%% \begin{memo}[Memorandum]
%%   \lipsum[1-3]
%% \end{memo}
%%
\section{Introduction}
\subsection{Restatement of the problem}
The use of psychotropic drugs can be traced back to a long time in human history, and nothing can describe opioids better than a double-edged sword. The use of opioids is affecting the United States in all aspects, both economically and socially. How to make full use of the advantages and avoid the disadvantages of opioids and reduce their negative effects -- opioid use disorder, hepatitis and HIV infection and neonatal abstinence syndrome -- is a major social and technical problem that needs to be solved urgently. The abuse of opioid psychotropic substances is emerging in the form of epidemic. In this report, we have established a mathematical model to study the abuse of opioid psychotropic substances Lattice model. We will use data from five different states and counties\cite{r1}————

Kentucky, West Virginia, Virginia, Ohio and Pennsylvania - and developed a forecasting model

Objective to analyze how drug abuse spreads and infects in different counties. Then, we will try to find ways to use the model to solve the problem and prevent it in the future.
\subsection{Problem Summary}
Now the problem is divided into the following points:
\begin{itemize}
	\item A mathematical model was developed to describe the transmission and characteristics of reported synthetic opioid and heroin events (cases) among and among the five states and counties.
	
	\item The model was used to identify any possible location in each of the five states where a specific opioid might have been used, and to conduct prospective analysis in the future.
	
	\begin{figure}[ht]
		
		\centering
		\includegraphics[scale=0.6]{figures/sunFig.png}
		\caption{this is a figure demo}
		\label{fig:pathdemo}
	\end{figure}
	
	
	
	
	\item Judge whether the use and the trend of use are related to the socio-economic data provided. Through the data analysis, the main population of opiate abuse and the factors that promote the growth of opiate abuse level are further obtained.
	
	\item The sensitivity and effectiveness of the model are analyzed, and the general conclusion is drawn
\end{itemize}
\subsection{Our Model}




\subsection{Nomenclature}
\begin{center}
	\begin{tabular}{lcp{20em}}
		\hline
		Symbol & Definition\\
		\hline
		$ Z^{W}_H $& Zhiao Wei also known as the BOSS\\
		YS& Yilin Sun \\
		YZ& Yi Zhou\\
		YOLO & You Only Live Once\\
		$ x^2 $ & $x \times x$\\
		\hline
	\end{tabular}
\end{center}


\subsection{Syntax (how to type \LaTeX\ commands --- these
  are the rules)}
\begin{itemize}
\item the angular velocity of the bat,
\item the velocity of the ball, and
\item the position of impact along the bat.
\end{itemize}
\emph{center of percussion} [Brody 1986],

\begin{Theorem} \label{thm:latex}
\LaTeX
\end{Theorem}
\begin{Lemma} \label{thm:tex}
\TeX .
\end{Lemma}
\begin{proof}
The proof of theorem.
\end{proof}

\subsection{Other Assumptions}
\begin{itemize}
\item
\item
\item
\item
\end{itemize}


\section{Analysis of the Problem}
\begin{figure}[h]
\small
\centering
\includegraphics[width=8cm]{example-image-a}
\caption{The name of figure} \label{fig:aa}
\end{figure}

 Here has a eqref \eqref{aa}
\begin{equation}
a^2 \label{aa}
\end{equation}

\[
  \begin{pmatrix}{*{20}c}
  {a_{11} } & {a_{12} } & {a_{13} }  \\
  {a_{21} } & {a_{22} } & {a_{23} }  \\
  {a_{31} } & {a_{32} } & {a_{33} }  \\
  \end{pmatrix}
  = \frac{{Opposite}}{{Hypotenuse}}\cos ^{ - 1} \theta \arcsin \theta
\]
emmmmm just so so.

\[
  p_{j}=\begin{cases} 0,&\text{if $j$ is odd}\\
  r!\,(-1)^{j/2},&\text{if $j$ is even}
  \end{cases}
\]

\lipsum[10]

\[
  \arcsin \theta  =
  \mathop{{\int\!\!\!\!\!\int\!\!\!\!\!\int}\mkern-31.2mu
  \bigodot}\limits_\varphi
  {\mathop {\lim }\limits_{x \to \infty } \frac{{n!}}{{r!\left( {n - r}
  \right)!}}} \eqno (1)
\]

\section{Calculating and Simplifying the Model  }
\lipsum[11]

\section{The Model Results}
\lipsum[6]

\section{Validating the Model}
\lipsum[9]

\section{Conclusions}
\lipsum[6]

\section{A Summary}
\lipsum[6]

\section{Evaluate of the Mode}

\section{Strengths and weaknesses}
\lipsum[12]

\subsection{Strengths}
\begin{itemize}
\item \textbf{Applies widely}\\
This  system can be used for many types of airplanes, and it also
solves the interference during  the procedure of the boarding
airplane,as described above we can get to the  optimization
boarding time.We also know that all the service is automate.
\item \textbf{Improve the quality of the airport service}\\
Balancing the cost of the cost and the benefit, it will bring in
more convenient  for airport and passengers.It also saves many
human resources for the airline. \item \textbf{}
\end{itemize}

%\begin{thebibliography}{99}
%\bibitem{1} D.~E. KNUTH   The \TeX{}book  the American
%Mathematical Society and Addison-Wesley
%Publishing Company , 1984-1986.
%\bibitem{2}Lamport, Leslie,  \LaTeX{}: `` A Document Preparation System '',
%Addison-Wesley Publishing Company, 1986.
%\bibitem{3}\url{http://www.latexstudio.net/}
%\bibitem{4}\url{http://www.chinatex.org/}
%\bibitem{5}
%\end{thebibliography}

\bibliography{reflib}

\begin{appendices}

\section{First appendix}

In addition, your report must include a letter to the Chief Financial Officer (CFO) of the Goodgrant Foundation, Mr. Alpha Chiang, that describes the optimal investment strategy, your modeling approach and major results, and a brief discussion of your proposed concept of a return-on-investment (ROI). This letter should be no more than two pages in length.

\begin{letter}{Dear, Mr. Alpha Chiang}

\lipsum[1-2]

\vspace{\parskip}

Sincerely yours,

Your friends

\end{letter}
Here are simulation programmes we used in our model as follow.\\

\textbf{\textcolor[rgb]{0.98,0.00,0.00}{Input matlab source:}}
\lstinputlisting[language=Matlab]{./code/mcmthesis-matlab1.m}

\section{Second appendix}

some more text \textcolor[rgb]{0.98,0.00,0.00}{\textbf{Input C++ source:}}
\lstinputlisting[language=C++]{./code/mcmthesis-sudoku.cpp}

\end{appendices}
\end{document}
%%
%% This work consists of these files mcmthesis.dtx,
%%                                   figures/ and
%%                                   code/,
%% and the derived files             mcmthesis.cls,
%%                                   mcmthesis-demo.tex,
%%                                   README,
%%                                   LICENSE,
%%                                   mcmthesis.pdf and
%%                                   mcmthesis-demo.pdf.
%%
%% End of file `mcmthesis-demo.tex'.
